package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderDeliverDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 交货单明细表
 * @author : yinhaijun
 * @email : 
 * @since : 2020-01-15 02:28:26
 * @version : v1.0.0
 */
@Mapper
public interface  OrderDeliverDetailMapper {

    long insert(OrderDeliverDetail orderDeliverDetail);

    long delete(Long id);

    long update(OrderDeliverDetail orderDeliverDetail);

    OrderDeliverDetail queryByPrimaryKey(Long id);

    List<OrderDeliverDetail> query(OrderDeliverDetail orderDeliverDetail);

    List<OrderDeliverDetail> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderDeliverDetail") OrderDeliverDetail orderDeliverDetail);

    long queryPageCount(OrderDeliverDetail orderDeliverDetail);
}